package com.dk.util;

import java.sql.Date;
import java.sql.Time;
import java.sql.Timestamp;

public final class DateUtil {

    public static Date getDate(){
        Date date=new Date(System.currentTimeMillis());
        return date;
    }

    public static Time getTime(){
        Time time=new Time(System.currentTimeMillis());
        return time;
    }

    public static Timestamp getTimestamp(){
        return new Timestamp(System.currentTimeMillis());
    }
}
